/**
 * 
 */
package org.xserver.runtime.jetty.command;

import java.util.Properties;

import org.apache.log4j.Logger;
import org.xserver.core.command.ICommand;

/**
 * @author jkonopka
 * 
 */
abstract class AbstractServerCommand implements ICommand {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final Logger log = Logger.getLogger(getClass());

	private final Properties properties;

	/**
	 * @param properties {@link Properties}
	 */
	public AbstractServerCommand(final Properties properties) {
		this.properties = properties;
	}

	/**
	 * @return the properties
	 */
	protected final Properties getProperties() {
		return properties;
	}

	/**
	 * @return the log
	 */
	protected final Logger getLog() {
		return log;
	}

}
